package com.denso.bash;

import com.jfinal.core.Controller;
import com.xiaoleilu.hutool.date.DateUtil;

import java.util.Date;

/**
 * Created by Administrator on 2018/3/19.
 */
public class AdminController extends Controller {

    public void index() {
        String date = DateUtil.format(new Date(), "yyyy-MM-dd");
        setAttr("date", date);

        render("index.html");
    }

    public void statistic() {
        render("statistic.html");
    }
}
